home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_analog.idb
/
usr
/
freeware
/
src
/
analog
/
patches.z
/
patches
Wrap
Text File
|
2002-07-08
|
4KB
|
102 lines
--- ./src/Makefile Tue May 14 16:20:07 2002
+++ ../analog-5.23/./src/Makefile Tue May 28 13:17:05 2002
@@ -4,7 +4,7 @@
# in the "build" directory.
CC = gcc # which compiler to use: eg cc, acc, gcc. NB Different
# compilers need different CFLAGS, e.g., -O instead of -O2.
-MAKE = make # which "make" to use
+#MAKE = make # which "make" to use
CFLAGS = -O2 # options, e.g. for optimisation or ANSI compilation.
# HP/UX cc needs CFLAGS = -Aa (HP/UX 9) or -Ae (HP/UX 10)
# BeOS needs CFLAGS = -O2 -Wl,-L/boot/home/config/lib
@@ -140,7 +140,7 @@
force:
rm -f $(ALLOBJS)
- make $(PROGRAM) 'CFLAGS=$(CFLAGS)' 'LIBS=$(LIBS)' \
+ $(MAKE) $(PROGRAM) 'CFLAGS=$(CFLAGS)' 'LIBS=$(LIBS)' \
'DEFS=$(DEFS)' 'CC=$(CC)'
clean:
--- ./src/anlghead.h Tue May 14 16:20:07 2002
+++ ../analog-5.23/./src/anlghead.h Tue May 28 13:08:02 2002
@@ -42,7 +42,7 @@
#endif
#ifndef IMAGEDIR
-#define IMAGEDIR "images/"
+#define IMAGEDIR "/analog/images/"
/* URL of the directory where the images for the graphical reports live.
The URL can be absolute, or relative to the output page: e.g., just the
empty string "" for the same directory as the output page. */
@@ -61,7 +61,7 @@
#endif
#ifndef DEFAULTCONFIGFILE
-#define DEFAULTCONFIGFILE "analog.cfg"
+#define DEFAULTCONFIGFILE "/usr/freeware/etc/analog.cfg"
/* The name of the default configuration file. */
#endif
--- ./src/anlghea2.h Tue May 14 16:20:07 2002
+++ ../analog-5.23/./src/anlghea2.h Tue May 28 13:08:25 2002
@@ -400,7 +400,7 @@
/* Default output type: HTML, PLAIN, ASCII, COMPUTER or CACHE */
#ifndef LANGUAGE
-#define LANGUAGE (ENGLISH)
+#define LANGUAGE (US_ENGLISH)
/* Default language for the output page:
ARMENIAN, BULGARIAN, BULGARIAN_MIK, CATALAN, TRAD_CHINESE (Big5), CZECH,
CZECH_1250, DANISH, DUTCH, ENGLISH, US_ENGLISH, FINNISH, FRENCH, GERMAN,
--- ./anlgform.html Tue May 14 16:20:00 2002
+++ ../analog-5.23/./anlgform.html Tue May 28 13:10:02 2002
@@ -5,7 +5,7 @@
</head>
<body>
-<h1><!-- img src="/images/analogo.gif" alt="" --> Analog form interface</h1>
+<h1><img src="/analog/images/analogo.gif" alt=""> Analog form interface</h1>
<!-- This version is in British English. Forms in other languages can be -->
<!-- found in the "lang" folder or directory. -->
@@ -16,7 +16,7 @@
<!-- Next, uncomment the following line, edited to reflect the correct -->
<!-- location of anlgform.pl in you server's filespace. -->
-<!-- form action="/cgi-bin/anlgform.pl" method="POST" -->
+<form action="/cgi-bin/anlgform.pl" method="POST">
<!-- Many systems will want the IMAGEDIR to be different on the form -->
<!-- than from the command line, because it should not be within /cgi-bin/ -->
--- ./anlgform.pl Tue May 14 16:20:00 2002
+++ ../analog-5.23/./anlgform.pl Tue May 28 13:11:12 2002
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/freeware/bin/perl -T
###
### analog 5.23 http://www.analog.cx/
### This program is copyright (c) Stephen R. E. Turner 1995 - 2002 except as
@@ -15,6 +15,7 @@
# lines to give the location (full pathname) of the analog executable.
# Unix: $analog = '/usr/local/etc/httpd/analog-5.23/analog';
# Windows: $analog = 'C:\program files\analog 5.23\analog.exe';
+$analog = '/usr/freeware/bin/analog';
# 2) If you're on Unix, edit the first line in this file to give the location
# of Perl (don't remove the #! though).
# 3) You also need to edit anlgform.html if you want to use the form.
--- ./Makefile Tue May 14 16:20:00 2002
+++ ../analog-5.23/./Makefile Tue May 28 13:11:26 2002
@@ -5,9 +5,9 @@
PROGRAM = analog
$(PROGRAM): ALWAYS
- cd src && make
+ cd src && $(MAKE)
clean:
- cd src && make clean
+ cd src && $(MAKE) clean
ALWAYS: